/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uia.alumni.data;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Ohm
 */
public class Tag {

    private final String tagName = null;

    private List<Group> taggedGroups;


    public Tag(String name){
        name = tagName;
        taggedGroups = new ArrayList<Group>();

    }

    // Methods.
    
    public void addGroup(Group group){
        taggedGroups.add(group);
    }
    public void findTaggedGroup(Group group){
        
    }

    // Setters and Getters.
    public String getTagName() {
        return tagName;
    }


    public List<Group> getTaggedGroups() {
        return taggedGroups;
    }

    public void setTaggedGroups(List<Group> taggedGroups) {
        this.taggedGroups = taggedGroups;
    }

    
}
